package com.project.server.domain.traffic;

import com.project.common.annotation.Excel;
import com.project.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 交通违规信息对象 t_traffic_violation
 *
 * @author project
 * @date 2021-07-02
 */
public class TTrafficViolation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 违规序号
     */
    private Long violationId;

    /**
     * 违规车型
     */
    @Excel(name = "违规车型")
    private String violationTypecar;

    /**
     * 违规车牌
     */
    @Excel(name = "违规车牌")
    private String violationLicense;

    /**
     * 违规车标
     */
    @Excel(name = "违规车标")
    private String violationLogocar;

    /**
     * 违规说明
     */
    @Excel(name = "违规说明")
    private String violationExplain;

    public void setViolationId(Long violationId) {
        this.violationId = violationId;
    }

    public Long getViolationId() {
        return violationId;
    }

    public void setViolationTypecar(String violationTypecar) {
        this.violationTypecar = violationTypecar;
    }

    public String getViolationTypecar() {
        return violationTypecar;
    }

    public void setViolationLicense(String violationLicense) {
        this.violationLicense = violationLicense;
    }

    public String getViolationLicense() {
        return violationLicense;
    }

    public void setViolationLogocar(String violationLogocar) {
        this.violationLogocar = violationLogocar;
    }

    public String getViolationLogocar() {
        return violationLogocar;
    }

    public void setViolationExplain(String violationExplain) {
        this.violationExplain = violationExplain;
    }

    public String getViolationExplain() {
        return violationExplain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("violationId", getViolationId())
                .append("violationTypecar", getViolationTypecar())
                .append("violationLicense", getViolationLicense())
                .append("violationLogocar", getViolationLogocar())
                .append("violationExplain", getViolationExplain())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
